package com.situ.company.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {

    // localhost:8080/   最后这个"/"可以不写
    // localhost:8080
    @RequestMapping("/")
    public String index() {
        return  "/index.jsp";
    }
}
